<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
%>
<html lang="en">

<head>
<title>CUIT评教管理平台</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="<%=path%>/css/bootstrap.min.css" />
<link rel="stylesheet" href="<%=path%>/css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="<%=path%>/css/uniform.css" />
<link rel="stylesheet" href="<%=path%>/css/select2.css" />
<link rel="stylesheet" href="<%=path%>/css/unicorn.main.css" />
<link rel="stylesheet" href="<%=path%>/css/sweetalert.css" />
<link rel="stylesheet" href="<%=path%>/css/unicorn.grey.css"
	class="skin-color" />
<script src="<%=path%>/js/avalon.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>

<body ms-controller="indexController">

	<div id="header">
		<h2>CUIT评教</h2>
		<h3>管理平台</h3>
	</div>
	<div id="user-nav" class="navbar navbar-inverse">
		<ul class="nav btn-group">
			<li class="btn btn-inverse"><a ms-click="identity()"><i
					class="icon icon-user"></i> <span class="text">{{titlename}}</span></a></li>
			<li class="btn btn-inverse"><a ms-click="outlogin()"><i
					class="icon icon-share-alt"></i> <span class="text">退出登录</span></a></li>
		</ul>
	</div>
	<div id="sidebar">
		<a href="#" class="visible-phone"><i class="icon icon-home"></i> </a>
		<ul>
			<li ms-click="welcome()"><a><i class="icon icon-home"></i> <span>首页</span></a></li>
			<li class="submenu" ms-visible="isManager"><a href="#"><i
					class="icon icon-th-list"></i> <span>人员管理</span> </a>
				<ul>
					<li><a href="javascript:void(0)"
						ms-click="toggle('tcher_openpage')">教师管理</a></li>
					<li><a href="javascript:void(0)"
						ms-click="toggle('stu_openpage')">学生管理</a></li>
				</ul></li>
			<li class="submenu"><a href="#"><i class="icon icon-th"></i>
					<span>教学评价</span> </a>
				<ul>
					<li><a href="javascript:void(0)"
						ms-click="toggle('Appraise_openpage')">查看评价</a></li>
					<li ms-visible="isTcher"><a href="javascript:void(0)"
						ms-click="toggle('appraise_openpage')">评价老师</a></li>
				</ul></li>
			<li class="submenu" ms-visible="isManager"><a href="#"><i
					class="icon icon-pencil"></i> <span>评分项目</span></a>
				<ul>
					<li><a href="javascript:void(0)"
						ms-click="toggle('score_openpage')">管理评分项目</a></li>
				</ul></li>
		</ul>

	</div>
	<div id="content">
		<div ms-include-src="page/{{url}}.jsp"></div>
	</div>
	<div class="modal fade" id="infoModal" tabindex="-1" role="dialog"
		aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-hidden="true">&times;</button>
					<h4 class="modal-title" id="myModalLabel">我的信息</h4>
				</div>
				<div class="modal-body">
					<form class="form-horizontal">
						<div>
							<strong>ID：</strong> <input ms-duplex="name" type="text"
								style="height: 30px; width: 450px; float: right;"
								readonly="readonly">
						</div>
						<div style="margin-top: 30px">
							<strong>密码：</strong> <input ms-duplex="pwd" type="text"
								style="height: 30px; width: 450px; float: right;">
						</div>
						<div style="margin-top: 30px">
							<strong>性别：</strong> <input ms-duplex="sex" type="text"
								style="height: 30px; width: 450px; float: right;">
						</div>
						<div style="margin-top: 30px">
							<strong>角色：</strong> <input ms-duplex="role" type="text"
								style="height: 30px; width: 450px; float: right;" readonly>
						</div>
					</form>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-default" data-dismiss="modal">关闭
					</button>
					<button ms-click="updateUser()" type="button"
						class="btn btn-primary">提交更改</button>
				</div>
			</div>
			<!-- /.modal-content -->
		</div>
	</div>
	<script src="<%=path%>/js/jquery.min.js"></script>
	<script src="<%=path%>/js/bootstrap.min.js"></script>
	<script src="<%=path%>/js/my/index.js"></script>
	<script src="<%=path%>/js/jquery.ui.custom.js"></script>
	<script src="<%=path%>/js/jquery.uniform.js"></script>
	<script src="<%=path%>/js/select2.min.js"></script>
	<script src="<%=path%>/js/unicorn.js"></script>
	<script src="<%=path%>/js/sweetalert.min.js"></script>
</body>

</html>